#ifndef PARTICLESYSTEM_H
#define PARTICLESYSTEM_H
#include "MyMath.h"
#define FIREWORK_PARTICLE_COUNT 150
class Firework
{
public:
	unsigned int vboID;
	Vector3f center;
	Vector3f color;
	float time;
	void Create();
	void Release();
	void Update(long timeElapsed);
private:
	void InitData();
};
struct FireworkShader
{
	unsigned int id;
	unsigned int mvpMatrix, time, color, position, texcoord, speed, direction, texture;
};
#endif